import request from '@/pages/api/request.js';

function UserCenterCouponList(data) {
	return request({
		method: "POST",
		url: 'coupon/user/center/coupon/list',
		data: data
	})
}

function GoodsOrderCouponList(data) {
	return request({
		method: "POST",
		url: 'coupon/goods/order/coupon/list',
		data: data
	})
}

function MemberList(data) {
	return request({
		method: "POST",
		url: 'coupon/member/list',
		data: data
	})
}

function PointsList(data) {
	return request({
		method: "POST",
		url: 'coupon/points/list',
		data: data
	})
}

function PointsInfo(data) {
	return request({
		method: "POST",
		url: 'coupon/points/info',
		data: data
	})
}

function CouponPointsAdd(data) {
	return request({
		method: "POST",
		url: 'coupon/add/points/deduction',
		data: data
	})
}

function CouponVipMultipleAdd(data) {
	return request({
		method: "POST",
		url: 'coupon/multiple/add/user/vip',
		data: data
	})
}
export default {
	GoodsOrderCouponList,
	UserCenterCouponList,
	MemberList,
	PointsList,
	PointsInfo,
	CouponPointsAdd,
	CouponVipMultipleAdd,
}